package com.qf.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("process_log")  // 当java实体对象与数据库表名不符合的时候，需要通过该属性来指定
public class ProcessLog {

    @TableId(type = IdType.AUTO)
    private Long id;


    private String userName;


    private String className;


    private String methodName;


    private String processInfo;


    private String paramsInfo;


    private Date createTime;
}
